how to use mysql and python